// FillEventSink.cpp : implementation file
//

#include "stdafx.h"
#include "SpeedOrder.h"
#include "FillEventSink.h"
#include "wp2_i_5.c"

// CFillEventSink

IMPLEMENT_DYNAMIC(CFillEventSink, CCmdTarget)


CFillEventSink::CFillEventSink()
{
	EnableAutomation();
}

CFillEventSink::~CFillEventSink()
{
}


void CFillEventSink::OnFinalRelease()
{
	// When the last reference for an automation object is released
	// OnFinalRelease is called.  The base class will automatically
	// deletes the object.  Add additional cleanup required for your
	// object before calling the base class.

	CCmdTarget::OnFinalRelease();
}


BEGIN_MESSAGE_MAP(CFillEventSink, CCmdTarget)
END_MESSAGE_MAP()


BEGIN_DISPATCH_MAP(CFillEventSink, CCmdTarget)
	DISP_FUNCTION(CFillEventSink, "OnNewFill", OnNewFill, VT_EMPTY, VTS_DISPATCH)
	DISP_FUNCTION(CFillEventSink, "OnFillUpdated", OnFillUpdated, VT_EMPTY, VTS_DISPATCH)
END_DISPATCH_MAP()

// Note: we add support for IID_IFillEventSink to support typesafe binding
//  from VBA.  This IID must match the GUID that is attached to the 
//  dispinterface in the .IDL file.

BEGIN_INTERFACE_MAP(CFillEventSink, CCmdTarget)
	INTERFACE_PART(CFillEventSink, DIID_IGxFillEvents, Dispatch)
END_INTERFACE_MAP()

void CFillEventSink::OnNewFill(LPDISPATCH a_GxFill)
{

}

void CFillEventSink::OnFillUpdated(LPDISPATCH a_GxFill)
{

}


// CFillEventSink message handlers
